package com.mxpio.erp.common.equipment.service;

import com.mxpio.erp.common.equipment.entity.EquipmentStockRkApply;
import com.mxpio.erp.common.equipment.entity.EquipmentStockRkApplyItem;
import com.mxpio.erp.common.equipment.vo.VEquipmentStockRkPosting;
import com.mxpioframework.system.service.BaseService;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 备品入库
 * @Author: jeecg-boot
 * @Date:   2021-10-07
 * @Version: V1.0
 */
public interface EquipmentStockRkApplyService extends BaseService<EquipmentStockRkApply> {

	/**
	 * 删除一对多
	 */
	public void delMain(String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);

	/**
	 * 提交
	 */
	String submit(EquipmentStockRkApply tpmStockRkApply, List<EquipmentStockRkApplyItem> itemList);

	/**
	 * 修改主附表状态
	 */
	String changeStatus(EquipmentStockRkApply tpmStockRkApply, int status);

	void rkPosting(VEquipmentStockRkPosting tpmStockRkPostingVo);

}
